﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using NHibernate;

namespace EvidenceWeb.Util
{
    public static class WebUtil
    {
        public static ISession GetSession()
        {
            ISession session = HttpContext.Current.Items["HbmSession"] as ISession;
            return session;
        }
    }
}